package com.ruoyi.costumeShop.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * saleOrderDetail对象 costume_sale_order_detail
 * 
 * @author ruoyi
 * @date 2022-04-05
 */
public class CostumeSaleOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 销售详细信息id */
    private Long saleOrderDetailId;

    /** 销售单id */
    @Excel(name = "销售单id")
    private Long saleOrderId;

    /** 服装id */
    @Excel(name = "服装id")
    private Long costumeId;

    /** 尺码id */
    @Excel(name = "尺码id")
    private Long sizeId;

    /** 销售价格 */
    @Excel(name = "销售价格")
    private BigDecimal salePrice;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private Long saleQuantity;

    public void setSaleOrderDetailId(Long saleOrderDetailId) 
    {
        this.saleOrderDetailId = saleOrderDetailId;
    }

    public Long getSaleOrderDetailId() 
    {
        return saleOrderDetailId;
    }
    public void setSaleOrderId(Long saleOrderId) 
    {
        this.saleOrderId = saleOrderId;
    }

    public Long getSaleOrderId() 
    {
        return saleOrderId;
    }
    public void setCostumeId(Long costumeId) 
    {
        this.costumeId = costumeId;
    }

    public Long getCostumeId() 
    {
        return costumeId;
    }
    public void setSizeId(Long sizeId) 
    {
        this.sizeId = sizeId;
    }

    public Long getSizeId() 
    {
        return sizeId;
    }
    public void setSalePrice(BigDecimal salePrice) 
    {
        this.salePrice = salePrice;
    }

    public BigDecimal getSalePrice() 
    {
        return salePrice;
    }
    public void setSaleQuantity(Long saleQuantity) 
    {
        this.saleQuantity = saleQuantity;
    }

    public Long getSaleQuantity() 
    {
        return saleQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("saleOrderDetailId", getSaleOrderDetailId())
            .append("saleOrderId", getSaleOrderId())
            .append("costumeId", getCostumeId())
            .append("sizeId", getSizeId())
            .append("salePrice", getSalePrice())
            .append("saleQuantity", getSaleQuantity())
            .toString();
    }
}
